package com.kapcb.common.exception;

/**
 * <a>Title: FrameworkException </a>
 * <a>Author: kapcb <a>
 * <a>Description: 框架异常 <a>
 *
 * @author Kpacb
 * @version 1.0
 * @date 2024/4/28 21:51
 * @since 1.0
 */
public class FrameworkException extends RuntimeException {

    private static final long serialVersionUID = 9052687460239714094L;

    private Integer code;

    public FrameworkException() {
        super();
    }

    public FrameworkException(String message) {
        super(message);
    }

    public FrameworkException(Integer code, String message) {
        super(message);
        this.code = code;
    }

    public FrameworkException(String message, Throwable cause) {
        super(message, cause);
    }

    public FrameworkException(Throwable cause) {
        super(cause);
    }

    public FrameworkException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }

}
